"""
RENAME THIS FILE TO local_settings.py
"""

from pathlib import Path

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = ''


OSS_AK = "20CHARS"
OSS_SK = "40CHARS"
OSS_ENDPOINT = "http://oss-nc-beijing-2.cecloudcs.com/" # 必须带协议头, http
OSS_REGION = "" # 留空
OSS_ARN = "cecloud:IAM:*:15CHARS:role/YOUR_BUCKET"  # 去`身份认证与访问管理`中, 新建一个委托
OSS_BUCKET_URL = "https://oss-nc-beijing-2.cecloudcs.com/YOUR_BUCKET/"
OSS_BUCKET = "YOUR_BUCKET"

OSS_FILE_UPLOAD_URL = "ossfilefield/getUploadurl/" # used for django url.
OSS_FILE_DOWNLOAD_URL = "ossfilefield/getdownloadurl/"